﻿using System.Globalization;

namespace ODM.Data.Model
{
    public class Source
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Source"/> class.
        /// </summary>
        public Source()
        {

        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Source"/> class.
        /// </summary>
        /// <param name="source">The source.</param>
        public Source(Source source)
        {
            this.ID = source.ID;
            this.Organization = source.Organization;
            this.Description = source.Description;
            this.Citation = source.Citation;
        }

        public int ID { get; set; }

        public string Organization { get; set; }

        public string Description { get; set; }

        public string Citation { get; set; }

        public override string ToString()
        {
            return string.Format(CultureInfo.CurrentUICulture, "{0} - {1}", this.Organization, this.Description);
        }
    }
}
